package com.rybbaby.tss.front.tssMemberPackage.entity.ImportEntity.contractMessage;

import com.rybbaby.tss.front.tssMemberPackage.entity.ImportEntity.TransitionContractMessage.TransitionContract;
import com.rybbaby.tss.front.tssMemberPackage.entity.ImportEntity.parentContractMessage.ParentContract;

import java.sql.Timestamp;
/**
 * 合同信息
 * */
public class ContractMessage {

    //合同类别(1亲子 2过渡)
    private Integer type;

    //合同编号
    private String contractNumber;

    //顾问姓名
    private String realName;

    //合同签订日期
    private Timestamp createTime;

    //失效日期
    private Timestamp dueTime;

    //合同总金额
    private Double theTotalPriceAfterTheClass;

    //报名费
    private Double amount;

    //亲子合同
    private ParentContract parentContract = new ParentContract();

    //过渡合同
    private TransitionContract transitionContract = new TransitionContract();

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getStaffName() {
        return realName;
    }

    public void setStaffName(String realName) {
        this.realName = realName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getDueTime() {
        return dueTime;
    }

    public void setDueTime(Timestamp dueTime) {
        this.dueTime = dueTime;
    }

    public Double getTheTotalPriceAfterTheClass() {
        return theTotalPriceAfterTheClass;
    }

    public void setTheTotalPriceAfterTheClass(Double theTotalPriceAfterTheClass) {
        this.theTotalPriceAfterTheClass = theTotalPriceAfterTheClass;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public ParentContract getParentContract() {
        return parentContract;
    }

    public void setParentContract(ParentContract parentContract) {
        this.parentContract = parentContract;
    }

    public TransitionContract getTransitionContract() {
        return transitionContract;
    }

    public void setTransitionContract(TransitionContract transitionContract) {
        this.transitionContract = transitionContract;
    }

    @Override
    public String toString() {
        return "ContractMessage{" +
                "type=" + type +
                ", contractNumber='" + contractNumber + '\'' +
                ", realName='" + realName + '\'' +
                ", createTime=" + createTime +
                ", dueTime=" + dueTime +
                ", theTotalPriceAfterTheClass=" + theTotalPriceAfterTheClass +
                ", amount=" + amount +
                ", parentContract=" + parentContract +
                ", transitionContract=" + transitionContract +
                '}';
    }
}
